package com.bwie.controller;
import com.bwie.pojo.Shop;
import com.bwie.service.ShopService;
import com.bwie.service.impl.ShopServiceImpl;
import com.bwie.utils.R;
import com.bwie.vo.PageInfoVo;
import org.springframework.web.bind.annotation.*;

import org.springframework.beans.factory.annotation.Autowired;

/**
* (t_shop)表控制层
*
* @author xxxxx
*/
@RestController
@RequestMapping("/user/shop")
public class ShopController {
/**
* 服务对象
*/
    @Autowired
    private ShopService shopService;


    @PostMapping("getShopList")
    public R getShopList(@RequestBody PageInfoVo pageInfoVo){
        return shopService.getShopList(pageInfoVo);
    }
}
